home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / hardware-part1 / 5770 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  3.1 KB

  1. Path: fc.hp.com!tomk
  2. From: tomk@fc.hp.com (Tom Kennedy)
  3. Newsgroups: comp.sys.amiga.hardware
  4. Subject: Re: Zip Drive Geometry
  5. Date: 28 Feb 1996 22:08:30 GMT
  6. Organization: Hewlett-Packard Fort Collins Site
  7. Message-ID: <4h2jou$fug@fcnews.fc.hp.com>
  8. References: <4glcie$b66@fcnews.fc.hp.com> <4gs5ab$alg@eken.hv.se> <1824.6631T598T423@wvlink.mpl.com>
  9. NNTP-Posting-Host: magnum.fc.hp.com
  10. X-Newsreader: TIN [version 1.2 PL1.4]
  11.  
  12. Gene Heskett (gene_heskett@wvlink.mpl.com) wrote:
  13.  
  14. :  HW> In article <4glcie$b66@fcnews.fc.hp.com>, tomk@fc.hp.com (Tom
  15. :  HW> Kennedy) writes:
  16. : >>David Evans (devans@ccubb.com) wrote:
  17. : >>: Does anyone know the geometry of a ZIP disc?  I seem to have the
  18. : >>: wrong layout and format doesn't work...
  19. : >>
  20. : >>It's got 196608 sectors.  You can pick any geometry that has that
  21. : >>number of sectors.  (I use 8 sec/track, 2 heads, 12288 tracks.)
  22.  
  23. :  HW> Why so few secors and so many tracks? Isn't that a major
  24. :  HW> performance loss? The number of seeks for a track increases a
  25. :  HW> lot, and that time is a lot higher than the time required to
  26. :  HW> revolve the disk one  rotation. Just my humble opinion...
  27.  
  28. :  HW> /Henrik
  29.  
  30. : Henrik;
  31.  
  32. : It normally doesn't make any difference to a scsi device since the
  33. : internal physical disk format is not something we have had any
  34. : control over in quite some time now.
  35.  
  36. : The track and sector numbers are normally chosen so that they
  37. : duplicate as close as possible, without going over, the actual
  38. : capacity of the disk. The controller in the computer asks for a
  39. : sector based on tracks*sectors_per_track*head, commonly called the
  40. : Logical Sector Number, and the controller on the drive then
  41. : translates that often quite large number back into the actual
  42. : location on its platters.  We, the users, have no way of accessing
  43. : what may be on the drives actual track 117, sector 3, head 5 except
  44. : by pure dumb luck!  Thats what he meant above when he said to pick
  45. : any set of numbers that totalled up to 196608 sectors.  The actual
  46. : Logical Sector Number (LSN) is the only address that in fact goes up
  47. : the cable to the drive.
  48.  
  49. Exactly.
  50.  
  51. And I did some tests with DiskSpeed with different geometries (in case
  52. there was some difference with the Amiga filesystem -- I didn't think
  53. there would be, but it was easy to test...).  As I expected, there was
  54. no preformance difference with different # sec/track.
  55.  
  56. The reason I choose 8 sec/track specifically was to optimize the
  57. number of sectors available to the filesystem.  One cylinder must be
  58. used for a RDB.  Since the RDB only needs 2-3 sectors for a Zip disk,
  59. I picked the smallest sec/track possible that still came up with a
  60. geometry that has 196608 sectors even.  (You could do less then 8
  61. sec/track, but then the number of cylinders is too big for HDToolBox.
  62. The current version uses 16-bit ints for cylinders on the partitioning
  63. screen.  It should use 32-bit ints...)
  64.  
  65. My brother and I calculated all this stuff precisely to minimize the
  66. number of unuesd sectors on a disk.  8 sec/track is the best you can
  67. do :)
  68.  
  69. (Ok, some people might not care about wasting a few K here and
  70. there... We figured it wasn't that much work, and adds up across
  71. dozens of disks.)
  72.  
  73. Tom Kennedy
  74.